// http://www.kanman.com/news/meinv/322644.html， 320496， 322274
// http://www.kanman.com/news/meinv/322756.html

var str = $('.J_article_sel_share>table>tbody>tr>td').html();
// 1、正则替换掉所有的空标记
str = str.replace(/<(.*)><\/\1>|<.[^>]*\/>|\n|\t/g, '');

var imgList = str.match(/<img\s+.*?src=[\'|\"](.*?)[\'|\"].*?[\/]?>/ig); // 匹配出说有的图片
var arr = str.split(/<img\s+.*?src=[\'|\"](.*?)[\'|\"].*?[\/]?>/ig); // 匹配出说有的图片
var tmpArr = []
arr.forEach((item,k) => {
	let match = item.match(/<(.+)(\s.*)?>.*<\/\1>/g);
	console.log(match);
  if(match){
    tmpArr.push(match)
  }
});